package i_Hash;

/**
 * @author Cheng-02
 * @version V1.0
 * @Package i_Hash
 * @date 2024/4/10 下午6:49
 */
public class Test01 {
    public static void main(String[] args) {
        Person p1 = new Person("张三", 18);
        Person p2 = new Person("张三", 18);
        System.out.println(p1.hashCode());
        System.out.println(p2.hashCode());
        String s="童话";
        String s2="种地";
        System.out.println(s.hashCode());
        System.out.println(s2.hashCode());
    }
}
